package com.erp.pur.service;

import com.erp.pur.domain.GroupDO;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * 采购主表
 * 
 * @author Eric
 * @email shiliang900713@163.com
 * @date 2019-11-09 09:57:14
 */
public interface GroupService {
	
	GroupDO get(Long id);
	
	List<GroupDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(GroupDO group);
	
	int update(GroupDO group);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);

    int updatePaymentPrice(Long purId, BigDecimal appliAmount);

	GroupDO getByGroupid(String groupid);

	int confirm(Long id);

    GroupDO getAllPriceBySupplierId(Long id);

	int updateinvoicePrice(Long purId, Double tickAmount);

    int updateoutstockPrice(Long groupId, BigDecimal outstockPrice);
}
